home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
pdcurs21.zip
/
PORTABLE.ZIP
/
META.C
< prev
next >
Wrap
Text File
|
1992-11-21
|
1KB
|
52 lines
#define CURSES_LIBRARY 1
#include <curses.h>
#undef meta
#ifndef NDEBUG
char *rcsid_meta = "$Header: c:/curses/portable/RCS/meta.c%v 2.0 1992/11/15 03:29:00 MH Rel $";
#endif
/*man-start*********************************************************************
meta() - Force the number of significant bits on input.
Ultrix 4.1 Description:
This function forces the user's terminal to return 7 or 8
significant bits on input. To force 8 bits to be returned,
invoke meta() with bf as TRUE. To force 7 bits to be returned,
invoke meta() with bf as FALSE.
The window argument is always ignored, but it must still be a
valid window to avoid compiler errors.
PDCurses Description:
This function is provided for portability. By default, 8 bits
are returned.
FYI: The Ultrix DOC needs confirmation...
PDCurses Return Value:
The meta() function returns OK.
PDCurses Errors:
No errors are defined for this function.
Portability:
PDCurses int meta( WINDOW* win, bool bf );
BSD Curses int meta( WINDOW* win, bool bf );
SYS V Curses int meta( WINDOW* win, bool bf );
**man-end**********************************************************************/
int meta( WINDOW *win, bool bf )
{
#ifdef TC
# pragma argsused;
#endif
_cursvar.raw_inp = bf;
return( OK );
}